projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3fbab5
)
rust: Fix Rust 1.89 lifetime lint
author
Colin Walters
<walters@verbum.org>
Mon, 29 Sep 2025 12:21:53 +0000
(14:21 +0200)
committer
Colin Walters
<walters@verbum.org>
Mon, 29 Sep 2025 12:21:53 +0000
(14:21 +0200)
rust-bindings/src/repo.rs
patch
|
blob
|
history
diff --git
a/rust-bindings/src/repo.rs
b/rust-bindings/src/repo.rs
index 4ced8ed770e773853e502248b4a6389a86b8e032..b689daa21c9c9aa7d0adf41ffa35272deeb4dac0 100644
(file)
--- a/
rust-bindings/src/repo.rs
+++ b/
rust-bindings/src/repo.rs
@@
-132,7
+132,7
@@
impl Repo {
pub fn auto_transaction<P: IsA<gio::Cancellable>>(
&self,
cancellable: Option<&P>,
- ) -> Result<TransactionGuard, glib::Error> {
+ ) -> Result<TransactionGuard
<'_>
, glib::Error> {
let _ = self.prepare_transaction(cancellable)?;
Ok(TransactionGuard { repo: Some(self) })
}